<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%--
代码为自动生成 Created by www.magicalcoder.com
 如果你改变了此类 read 请将此行删除
 欢迎加入官方QQ群:323237052
--%>
                            <tr>

                               <%--id 主键 --%>
                               <td>
                                   <input type="checkbox" class="tdcheckbox" value="${goodsImg.id}"><input type="hidden" name="id" value="${goodsImg.id}"></td>
                               </td>

                               <%--imgName 图片名称 --%>
                               <td>
                                   <div class="form-group">
                                        <div class="col-sm-9">
                                            <input type="text" class="form-control "  name="imgName" title="图片名称"   minLength="0"  value="${goodsImg.imgName}" style="min-width: 100px;"  placeholder="请输入图片名称">
                                        </div>
                                        <label class="col-sm-2 control-label" >  <span class="validateMsg"></span></label>
                                   </div>
                               </td>

                               <%--imgUrl 地址 --%>
                               <td>
                                   <div class="form-group">
                                        <div class="col-sm-9">
                                            <img style="max-width: 171px" src="${goodsImg.imgUrl}" />
                                            <input type="text" class="form-control " name="imgUrl" value="${goodsImg.imgUrl}" placeholder="请输入地址">
                                            <input type="file" name="myfiles" onchange="uploadFile2('imgUrl','goods_img',this)" class="file" />
                                        </div>
                                        <label class="col-sm-2 control-label" >  <span class="validateMsg"></span></label>
                                   </div>
                               </td>

                               <%--type 类型 --%>
                               <td>
                                   <div class="form-group">
                                         <div class="col-sm-9" style="min-width:120px">
                                            <select style="min-width: 100px;" class="form-control" name="type" title="类型"  >
                                                <option <c:if test="${ goodsImg.type == 0 }">selected</c:if> value="0" >类型一</option>
                                                <option <c:if test="${ goodsImg.type == 1 }">selected</c:if> value="1" >类型二</option>
                                            </select>
                                        </div>
                                        <label class="col-sm-2 control-label" >  <span class="validateMsg"></span></label>
                                   </div>
                               </td>

                               <%--status 状态 --%>
                               <td>
                                   <div class="form-group">
                                        <div class="col-sm-9" style="min-width:120px">
                                            <input type="radio" class="" name="status_${goodsImg.id}" title="状态"  
                                                <c:if test="${!goodsImg.status }">checked</c:if>
                                               value="false" >否
                                            <input type="radio" class="" name="status_${goodsImg.id}" title="状态"  
                                                <c:if test="${goodsImg.status }">checked</c:if>
                                               value="true" >是
                                        </div>
                                        <label class="col-sm-2 control-label" >  <span class="validateMsg"></span></label>
                                   </div>
                               </td>

                               <%--imgDesc 描述 --%>
                               <td>
                                   <div class="form-group">
                                        <div class="col-sm-9">
                                            <textarea name="imgDesc" title="描述" style="min-width: 100px;" cols="100" rows="8" class="form-control "  placeholder="请输入描述"  minLength="0" >${goodsImg.imgDesc}</textarea>
                                        </div>
                                        <label class="col-sm-2 control-label" >  <span class="validateMsg"></span></label>
                                   </div>
                               </td>

                               <%--createTime 创建时间 --%>
                               <td>
                                   <div class="form-group">
                                        <div class="col-sm-9">
                                            <input type="text" name="createTime" class="Wdate form-control"  onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" value="<fmt:formatDate value="${ goodsImg.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/>" style="min-width: 170px;">
                                        </div>
                                        <label class="col-sm-2 control-label" >  <span class="validateMsg"></span></label>
                                   </div>
                               </td>
                                <td><button class="btn btn-sm btn-info" onclick="copyTr(this)">复制</button><button class="btn btn-sm btn-danger" onclick="deleteTr(this,'goods_img')">删除</button></td>
                            </tr>